import React from 'react';
import Svg, { Path } from 'react-native-svg';

import { IconProps } from '../../types';

export const KeyRoundIcon = ({ stroke = '#858585' }: IconProps): JSX.Element => {
  return (
    <Svg width="40" height="40" viewBox="0 0 40 40" fill="none">
      <Path
        d="M27.5026 13.3333C27.9628 13.3333 28.3359 12.9602 28.3359 12.4999C28.3359 12.0397 27.9628 11.6666 27.5026 11.6666C27.0424 11.6666 26.6693 12.0397 26.6693 12.4999C26.6693 12.9602 27.0424 13.3333 27.5026 13.3333Z"
        fill="#8D8D8D"
      />
      <Path
        d="M4.3126 29.0233C3.68744 29.6482 3.33613 30.496 3.33594 31.3799V34.9999C3.33594 35.442 3.51153 35.8659 3.82409 36.1785C4.13665 36.491 4.56058 36.6666 5.0026 36.6666H10.0026C10.4446 36.6666 10.8686 36.491 11.1811 36.1785C11.4937 35.8659 11.6693 35.442 11.6693 34.9999V33.3333C11.6693 32.8912 11.8449 32.4673 12.1574 32.1548C12.47 31.8422 12.8939 31.6666 13.3359 31.6666H15.0026C15.4446 31.6666 15.8686 31.491 16.1811 31.1785C16.4937 30.8659 16.6693 30.442 16.6693 29.9999V28.3333C16.6693 27.8912 16.8449 27.4673 17.1574 27.1548C17.47 26.8422 17.8939 26.6666 18.3359 26.6666H18.6226C19.5066 26.6664 20.3543 26.3151 20.9793 25.6899L22.3359 24.3333C24.6523 25.1402 27.174 25.1371 29.4884 24.3245C31.8028 23.512 33.773 21.938 35.0765 19.8601C36.3801 17.7823 36.9399 15.3236 36.6645 12.8862C36.389 10.4488 35.2945 8.17703 33.56 6.44256C31.8255 4.70809 29.5538 3.61358 27.1164 3.33809C24.679 3.0626 22.2202 3.62243 20.1424 4.92601C18.0645 6.22959 16.4906 8.19973 15.678 10.5141C14.8654 12.8286 14.8624 15.3502 15.6693 17.6666L4.3126 29.0233Z"
        stroke="#8D8D8D"
        strokeWidth="3.33333"
        strokeLinecap="round"
        strokeLinejoin="round"
      />
      <Path
        d="M27.5026 13.3333C27.9628 13.3333 28.3359 12.9602 28.3359 12.4999C28.3359 12.0397 27.9628 11.6666 27.5026 11.6666C27.0424 11.6666 26.6693 12.0397 26.6693 12.4999C26.6693 12.9602 27.0424 13.3333 27.5026 13.3333Z"
        stroke={stroke}
        strokeWidth="3.33333"
        strokeLinecap="round"
        strokeLinejoin="round"
      />
    </Svg>
  );
};
